package com.mw.wmimobile.datastorage;

import java.util.List;

public class DataStorage {
	private DataStorage() {
	}

	private static DataStorage dataStorage;

	// fake data MOZE poleci do kosza
	private List<NewsSmallDto> newsSmallList;
	private List<StaffDto> staffDtoList;
	private List<ClassesDto> classesList;
	private List<StaffDto> favStaffDtoList;
	private List<ClassesDto> myClassesDtoList;

	public static DataStorage getInstance() {
		if (dataStorage == null) {
			dataStorage = new DataStorage();

		}
		return dataStorage;
	}

	public void clear() {
		dataStorage = null;
	}

	// wszystkie fake metody poleca do kosza
//	public void addFakeNews() {
//		FakeDataIncluder.addFakeSmallNews();
//	}

	// PRAWY - REFAKTOR - GENERATE GETTER SETTER ustawic na koniec pliczku

	public List<NewsSmallDto> getNewsSmallList() {
		return newsSmallList;
	}

	public void setNewsSmallList(List<NewsSmallDto> newsSmallList) {
		this.newsSmallList = newsSmallList;
	}

	public List<ClassesDto> getClassesList() {
		return classesList;
	}

	public void setClassesList(List<ClassesDto> classesList) {
		this.classesList = classesList;
	}

	public List<StaffDto> getStaffDtoList() {
		return staffDtoList;
	}

	public void setStaffDtoList(List<StaffDto> staffDtoList) {
		this.staffDtoList = staffDtoList;
	}

	public List<StaffDto> getFavStaffDtoList() {
		return favStaffDtoList;
	}

	public void setFavStaffDtoList(List<StaffDto> favStaffDtoList) {
		this.favStaffDtoList = favStaffDtoList;
	}

	public List<ClassesDto> getMyClassesList() {
		return myClassesDtoList;
	}

	public void setMyClassesList(List<ClassesDto> myClassesList) {
		this.myClassesDtoList = myClassesList;
	}

}
